package com.dbq.fast.business.me.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yuanchen on 2018/5/7.
 */

public class WithdrawInfo implements Serializable {


    /**
     * curPage : 1
     * totalPage : 2
     * wechat : tt321419
     * withdraw : 0
     * withdrawList : [{"id":2,"vpnId":"12345678","withdrawAmount":3200,"status":1,"withdrawId":"0","createAt":1525683763000},{"id":1,"vpnId":"12345678","withdrawAmount":2200,"status":1,"withdrawId":"0","createAt":1525683763000}]
     */

    private int curPage;
    private int totalPage;
    private String wechat;
    private int withdraw;
    private List<WithdrawListBean> withdrawList;

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public int getWithdraw() {
        return withdraw;
    }

    public void setWithdraw(int withdraw) {
        this.withdraw = withdraw;
    }

    public List<WithdrawListBean> getWithdrawList() {
        return withdrawList;
    }

    public void setWithdrawList(List<WithdrawListBean> withdrawList) {
        this.withdrawList = withdrawList;
    }

    public static class WithdrawListBean implements Serializable{
        /**
         * id : 2
         * vpnId : 12345678
         * withdrawAmount : 3200
         * status : 1
         * withdrawId : 0
         * createAt : 1525683763000
         */

        private int id;
        private String vpnId;
        private int withdrawAmount;
        private int status; //0:提现中,1:已提现
        private String withdrawId;
        private long createAt;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getVpnId() {
            return vpnId;
        }

        public void setVpnId(String vpnId) {
            this.vpnId = vpnId;
        }

        public int getWithdrawAmount() {
            return withdrawAmount;
        }

        public void setWithdrawAmount(int withdrawAmount) {
            this.withdrawAmount = withdrawAmount;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getWithdrawId() {
            return withdrawId;
        }

        public void setWithdrawId(String withdrawId) {
            this.withdrawId = withdrawId;
        }

        public long getCreateAt() {
            return createAt;
        }

        public void setCreateAt(long createAt) {
            this.createAt = createAt;
        }

        @Override
        public String toString() {
            return "WithdrawListBean{" +
                    "id=" + id +
                    ", vpnId='" + vpnId + '\'' +
                    ", withdrawAmount=" + withdrawAmount +
                    ", status=" + status +
                    ", withdrawId='" + withdrawId + '\'' +
                    ", createAt=" + createAt +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "WithdrawInfo{" +
                "curPage=" + curPage +
                ", totalPage=" + totalPage +
                ", wechat='" + wechat + '\'' +
                ", withdraw=" + withdraw +
                ", withdrawList=" + withdrawList +
                '}';
    }
}
